package com.egrid.point.bury.code;

import io.swagger.annotations.ApiModelProperty;

/**
 * AbstractResponse.java
 * Created at 2019-12-31
 * Created by Royal Warmer
 * Copyright (C) 2018 SAIC VOLKSWAGEN, All rights reserved.
 */
public abstract class AbstractResponse implements Response {

    @ApiModelProperty("状态码")
    protected String code;

    @ApiModelProperty("信息")
    protected String message;

    @ApiModelProperty("响应内容")
    protected Object content;


    @Override
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }
}
